<include file="Public:header" />
<!---->
<div class="cont_main">
    <div class="pub_border">
        <h3>游戏礼包</h3>
        <ul class="voucher_game_name" id='voucher_game_name'>
            <foreach name="game" item="vo" >
                <li><!--{$vo.gamename}--></li>
            </foreach>
        </ul>
    </div>
    <div class="margin_t20 voucher_game_warp">
        <div class="vc_info_box"> <img src="./Public/upload/<?php echo $game[0]['genname'];?>/<?php echo $game[0]['genname'];?>.jpg" width="440" height="210"  alt=""/>
            <div class="vc_cg_info">
                <h2><?php echo $game[0]['gamename'];?>-<?php echo $game[0]['chname'];?></h2>
                <p class="vc_p_1">剩余数量：<span>100</span></p>
                <p class="vc_p_2">
                    <button class="public_img vc_btn_1">开始游戏</button>
                    <button class="public_img vc_btn_2">进入官网</button>
                </p>
                <p class="vc_p_2">
                     <select name="server" id="server">
                         <option value="0">--选择区服--</option>
                         <?php foreach($server as $v){?>
                         <option value="<?php echo $v['area_num'];?>"><?php echo $v['areaname'];?></option>
                        <?php }?>
                    </select>
                </p>
                <p class="vc_p_2">
                    <input type="text" class="vc_inp_1" id='cardNo'>                   
                    <button class="vc_btn_3" onclick='getLibao()'>领取礼包</button>
                </p>
            </div>
            <ul class="vc_list_info">               
                <ul>
                    <?php foreach($game as $v){?>
                    <li><a href="#"><?php echo $v['gamename'];?>-<?php echo $v['chname'];?></a></li>
                    <?php }?>                    
                </ul>
            </ul>
        </div>
        <!---->
        <div class="vc_cont_warp">
            <h2>【礼包详情】</h2>
            <?php echo $game[0]['details']?>
            <h2>【使用方法】</h2>
            <?php echo $game[0]['operation']?>
            <p></p>
            <p></p>
        </div>


    </div>
</div>
<script type="text/javascript">
    var game_id=<?php echo $game[0]['game_id'];?> ? <?php echo $game[0]['game_id'];?> : 0;
    var tag = "<?php echo $game[0][enname];?>" ? "<?php echo $game[0][enname];?>" : '';
    var general = "<?php echo $game[0][general];?>" ? "<?php echo $game[0][general];?>" : '';
    var port="<?php echo $game[0][port];?>" ? "<?php echo $game[0][port];?>" : '';
    var enname= "<?php echo $game[0][genname];?>" ? "<?php echo $game[0][genname];?>" : '';
    var area_num=0;
</script>
<script type="text/javascript" src="__PUBLIC__/default/js/libao.js"></script>
<include file="Public:footer" />

